package com.youdoneed.news.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "新闻内容对象")
public class CmfPostsWithBLOBs extends CmfPosts {
	
	@ApiModelProperty(value = "文章内容")
    private String postContent;
	
	@ApiModelProperty(value = "文章标题")
	private String postTitle;
	
	@ApiModelProperty(value = "文章摘要")
	private String postExcerpt;
	
	@ApiModelProperty(value = "新闻在列表页中的布局所需数据，JSON格式：layout_type布局类型，layout_imgs图片列表")
	private String listLayout;
	
	@ApiModelProperty(value = "文章作者、来源")
	private CmfAuthors authors;
	
	public CmfAuthors getAuthors() {
		return authors;
	}

	public void setAuthors(CmfAuthors authors) {
		this.authors = authors;
	}

	public String getPostContent() {
		return postContent;
	}

	public void setPostContent(String postContent) {
		this.postContent = postContent;
	}

	public String getPostTitle() {
		return postTitle;
	}

	public void setPostTitle(String postTitle) {
		this.postTitle = postTitle;
	}

	public String getPostExcerpt() {
		return postExcerpt;
	}

	public void setPostExcerpt(String postExcerpt) {
		this.postExcerpt = postExcerpt;
	}

	public String getListLayout() {
		return listLayout;
	}

	public void setListLayout(String listLayout) {
		this.listLayout = listLayout;
	}
}